package com.tyut.farmerservice.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 李陈星
 * @since 2025-05-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_question")
@ApiModel(value="TbQuestion对象", description="")
public class Question implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "专家")
    private String expertName;

    @ApiModelProperty(value = "手机号")
    private String questioner;

    @ApiModelProperty(value = "作物详细信息")
    private String phone;

    @ApiModelProperty(value = "农作物名称")
    private String plantName;

    @ApiModelProperty(value = "问题标题")
    private String title;

    @ApiModelProperty(value = "问题")
    private String question;

    @ApiModelProperty(value = "回答")
    private String answer;

    private Integer status;


}
